package models.afd;

import java.sql.Timestamp;
import java.util.Date;

public class OperacaoAFD {
	private int nsr;
	private Timestamp dtInc;
	private char tpOpe;
	private String nrPis;
	private String nome;
	
	public int getNsr() {
		return nsr;
	}

	public void setNsr(int nsr) {
		this.nsr = nsr;
	}

	public Timestamp getDtInc() {		
		return dtInc;
	}

	public void setDtInc(Date dtInc) {
		this.dtInc = new Timestamp(dtInc.getTime());
	}

	public char getTpOpe() {
		return tpOpe;
	}

	public void setTpOpe(char tpOpe) {
		this.tpOpe = tpOpe;
	}

	public String getNrPis() {
		return nrPis;
	}

	public void setNrPis(String nrPis) {
		this.nrPis = nrPis;
	}

	public String getNome() {
		return nome;
	}

	public void setNome(String nome) {
		this.nome = nome;
	}

	@Override
	public String toString() {
		return "InclusaoAFD [nsr=" + nsr + ",\n dtInc=" + dtInc + 
				",\n tpOpe=" + tpOpe + ",\n nrPis=" + nrPis
				+ ",\n nome=" + nome + "]";
	}
	
}
